package com.kuangyubo.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan({"com.kuangyubo.sys.system.mapper","com.kuangyubo.sys.shared.codegen.mapper","com.kuangyubo.wiki.repository.manage.mapper"})
@ComponentScan({
        "com.kuangyubo.server",       // server模块
        "com.kuangyubo.sys",       // sys模块
        "com.kuangyubo.wiki"        // wiki 模块
})
public class ServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServerApplication.class, args);
    }
}
